#ifndef _VERTEXARRAY_H_
#define _VERTEXARRAY_H_

#include <SERender/Resourses/IndexBuffer.h>
#include <SERender/Resourses/VertexBuffer.h>

namespace SEngine
{
    class VertexArray
    {
    public:
        VertexArray(size_t elemSize);
        virtual ~VertexArray();

        void Bind();
        void Unbind();

        size_t GetElementSize() { return m_elemSize; }

    private:
        uint32_t m_id;
        VertexBuffer m_vbo;
        IndexBuffer m_ebo;
        size_t m_elemSize;

    }; 
} // namespace SEngine


#endif